package ai.people.netmon.framework.domain.userconfig.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 用户采集配置账号partner_id关系表
 * </p>
 *
 * @author zhenglin
 * @since 2022-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class UserCollectConfigAccountPartner implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 账号名称
     */
    private String accountName;

    /**
     * 合作伙伴id
     */
    private String partnerId;


    public UserCollectConfigAccountPartner(String accountName, String partnerId) {
        this.accountName = accountName;
        this.partnerId = partnerId;
    }
}
